package com.zhijiaoyun.model;

/**
 * @author shisfish
 * @date 2017/6/6
 */
public class CourseCategory extends ModifyModel {
	private static final long serialVersionUID = -4886712860918739386L;

	private Long categoryId;

    private String name;

    private Long parentId;

    private Integer level;

    private Integer status;

    private Integer sort;

    public CourseCategory() {
		super();
	}

	public CourseCategory(String name, Long parentId, Integer level, Integer status, Integer sort, String createUser) {
		super();
		this.name = name;
		this.parentId = parentId;
		this.level = level;
		this.status = status == null ? 0 : status;
		this.sort = sort;
		this.createUser = createUser;
	}

	public Long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Long getParentId() {
		return parentId;
	}

	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}

	public Integer getLevel() {
		return level;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }
    
}